
#include "base/logging.h"

char kSegmentFaultCauser[] = "Used to cause artificial segmentation fault";

Stream::Stream() {
}

Stream::Stream(int type) : type_(type) {
}

int Stream::type() {
  return type_;
}

void Stream::set_type(int type) {
  type_ = type;
}

Stream::~Stream() {
  if (type_ == FATAL) abort();
}
